package cn.zz.veggie.model.domain;

import cn.zz.comm.mybaits.types.BaseEntity;
import cn.zz.veggie.model.enums.ProductStatus;
import lombok.Getter;
import lombok.Setter;

/**
 * 商品信息表(Product)实体类
 *
 * @author zhongq
 * @since 2024-05-20 20:56:31
 */
@Getter
@Setter
public class Product extends BaseEntity {
	private String name;
	private String image;
	private Integer price;
	private Integer status;
	private String unit;
	private String spec;
	private String remark;

	public void delete() {
		this.status = ProductStatus.deleted.status;
	}
}